package cn.mulanbay.auth.bean.request;

import javax.validation.constraints.NotEmpty;

/**
 * 用户登录
 *
 * @author fenghong
 * @create 2022-01-16 10:00
 */
public class LoginRequest {

    @NotEmpty(message = "{validate.user.username.notNull}")
    private String username;

    @NotEmpty(message = "{validate.user.password.notNull}")
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
